On the Events tab page you can link macros to events that occur in a form's control fields.
イベント タブでは、フォームのコントロールフィールドで発生するイベントに応じて実行させるマクロを指定できます。
When the event occurs, the linked macro will be called. To assign a macro to an event, press the ... button. An Assign Macrodialog opens.
指定されたイベントが発生すると、リンクされたマクロが呼び出されます。イベントにマクロを割り当てるには、「...」ボタンを押します。マクロの割り当て ダイアログが開きます。
|
To access this command...この機能の見つけ方 |
Depending on the control, different events are available. Only the available events for the selected control and context are listed on the Events tab page. The following events are defined:
指定できるイベントは、コントロールの種類によって異なります。イベント タブには、選択したコントロールおよびコンテキストで使用可能なイベントのみが表示されます。指定可能なイベントには下記のものがあります。
This event takes place before an action is triggered by clicking the control. For example, clicking a "Submit" button initiates a send action; however, the actual "send" process is started only when the When initiating event occurs. The Approve action event allows you to kill the process. If the linked method sends back FALSE, When initiating will not be executed.
このイベントは、コントロールがクリックされてアクションが引き起こされる前に発生します。 たとえば、「送信」ボタンをクリックすると、送信アクションが起動されます。しかし、実際に「送信」プロセスが開始されるのは、作動時 イベントが発生したときだけです。 コマンド実行前 イベントを使用すると、プロセスを強制終了できます。 リンクされたメソッドが FALSE を返すと、作動時 は実行されません。
The Execute action event occurs when an action is started. For example, if you have a "Submit" button in your form, the send process represents the action to be initiated.
作動時 イベントは、アクションが開始されるときに発生します。たとえばフォームに「送信」ボタンがある場合は、送信ボタンによってアクションが開始されるということを表します。
The Changed event takes place when the control loses the focus and the content of the control has changed since it lost the focus.
変更した時 イベントは、フォーカスがコントロールからなくなり、コントロールの内容が変更されたときに発生します。
The Text modified event takes place if you enter or modify a text in an input field.
テキストを変更した時 イベントは、入力フィールドでテキストを入力または変更した場合に発生します。
The Item status changed event takes place if he status of the control field has changed.
ステータスを変更した時 イベントは、コントロールフィールドのステータスが変更された場合に発生します。
The When receiving focus event takes place if a control field receives the focus.
フォーカスを得た時 イベントは、コントロールフィールドがフォーカスを受け取った場合に発生します。
The When losing focus event takes place if a control field looses the focus.
フォーカスを失った時 イベントは、コントロールフィールドがフォーカスを失った場合に発生します。
The Key pressed event occurs when the user presses any key while the control has the focus. This event may be linked to a macro for checking entries.
キーを押した時 イベントは、フォーカスがコントロールにある間、ユーザーが任意のキーを押したときに発生します。このイベントは、項目をチェックするマクロにリンクできます。
The Key released event occurs when the user releases any key while the control has the focus.
キーを離した時 イベントは、フォーカスがコントロールにある間、ユーザーが任意のキーを放したときに発生します。
The Mouse inside event takes place if the mouse is inside the control field.
マウスを内に入れた時 イベントは、マウスがコントロールフィールドに入ったときに発生します。
The Mouse moved while key pressed event takes place when the mouse is dragged while a key is pressed. An example is when, during drag-and-drop, an additional key determines the mode (move or copy).
キーを押しマウス操作する時 イベントは、キーを押しながらマウスをドラッグしたときに発生します。 たとえば、ドラッグ&ドロップ中にキーを押して、そのモード (移動またはコピー) を決定するなどがあります。
The Mouse moved event occurs if the mouse moves over the control.
マウス操作時 イベントは、マウスがコントロール上を移動したときに発生します。
The Mouse button pressed event occurs if the mouse button is pressed while the mouse pointer is on the control.
マウスボタンを押した時 イベントは、マウスポインタがコントロール上にある間、マウスボタンを押したときに発生します。
![]() | Note that this event is also used for notifying requests for a popup context menu on the control.
このイベントは、コントロール上のポップアップ コンテキスト メニューに関する要求の通知にも使用されます。 |
The Mouse button released event occurs if the mouse button is released while the mouse pointer is on the control.
マウスボタンを離した時 イベントは、マウスポインタがコントロール上にある間、マウスボタンを放したときに発生します。
The Mouse outside event takes place when the mouse is outside the control field.
マウスを外に出した時 イベントは、マウスがコントロールフィールドから出たときに発生します。